<?php
class PeriodsDetails extends AppModel 
{
	public $name="PeriodsDetails";
	public $belongsTo = array(
    'Periods' => array(
            'className' => 'Periods',
            'foreignKey' => 'period_id'
        ),
   'Services'=> array(
            'className' => 'Services',
            'foreignKey' => 'service_id'
        )
    );
	/*
$date = date('Y-m-d', strtotime( $this->data['Events']['date']));
        $this->data['Events']['date']=$date;
*/
  





}